package com.seari.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.seari.bean.AlarmHistoryData;
import com.seari.bean.AlarmQuery;
import com.seari.bean.ETMaintainRecord;
import com.seari.mapper.AlertManagerMapper;
import com.seari.pojo.QueryMtRecord;
import com.seari.service.AlertManagerService;

@Service("AlertManagerService")
public class AlertManagerServiceImpl implements AlertManagerService {
	
	@Autowired
	private AlertManagerMapper alertManagerMapper;

	@Override
	public List<AlarmHistoryData> getAlarmHisMsgs(AlarmQuery alarmQuery) {
		// TODO Auto-generated method stub
		return alertManagerMapper.getAlarmHisMsgs(alarmQuery);
	}

	@Override
	public List<ETMaintainRecord> getBreakdownMtRecord(AlarmQuery alarmQuery) {
		// TODO Auto-generated method stub
		return alertManagerMapper.getBreakdownMtRecord(alarmQuery);
	}

	@Override
	public int getHisMsgCount(AlarmQuery alarmQuery) {
		// TODO Auto-generated method stub
		return alertManagerMapper.getHisMsgCount(alarmQuery);
	}

	@Override
	public int getBMRCount() {
		// TODO Auto-generated method stub
		return alertManagerMapper.getBMRCount();
	}

	@Override
	public List<ETMaintainRecord> queryMtRecord(QueryMtRecord queryMtRecord) {
		// TODO Auto-generated method stub
		return alertManagerMapper.queryMtRecord(queryMtRecord);
	}

	@Override
	public int queryMtRecordCount(QueryMtRecord queryMtRecord) {
		// TODO Auto-generated method stub
		return alertManagerMapper.queryMtRecordCount(queryMtRecord);
	}

	@Override
	public String queryRemarkName(String showName) {
		// TODO Auto-generated method stub
		return alertManagerMapper.queryRemarkName(showName);
	}

}
